Normalisation is Insensible to λ-term Identity or Difference
نویسندگان
چکیده
This paper analyses the computational behaviour of λterm applications. The properties we are interested in are weak normalisation (i.e. there is a terminating reduction) and strong normalisation (i.e. all reductions are terminating). One can prove that the application of a λ-term M to a fixed number n of copies of the same arbitrary strongly normalising λ-term is strongly normalising if and only if the application of M to n different arbitrary strongly normalising λ-terms is strongly normalising. I.e. one has that M X . . .X } {{ } n is strongly normalising, for an arbitrary strongly normalising X , if and only if MX1 . . .Xn is strongly normalising for arbitrary strongly normalising X1, . . . , Xn. The analogous property holds when replacing strongly normalising by weakly normalising. As an application of the result on strong normalisation the λ-terms whose interpretation is the top element (in the environment which associates the top element to all variables) of the Honsell-Lenisa model turn out to be exactly the λ-terms which, applied to an arbitrary number of strongly normalising λ-terms, always produces strongly normalising λ-terms. This proof uses a finitary logical description of the model by means of intersection types. This answers an open question stated by Dezani, Honsell and Motohama.
منابع مشابه
Big-step normalisation
Traditionally, decidability of conversion for typed λ-calculi is established by showing that small-step reduction is confluent and strongly normalising. Here we investigate an alternative approach employing a recursively defined normalisation function which we show to be terminating and which reflects and preserves conversion. We apply our approach to the simply-typed λ-calculus with explicit s...
متن کاملCompositional Characterisations of λ-terms using Intersection Types ?
We show how to characterise compositionally a number of evaluation properties of λ-terms using Intersection Type assignment systems. In particular, we focus on termination properties, such as strong normalisation, normalisation, head normalisation, and weak head normalisation. We consider also the persistent versions of such notions. By way of example, we consider also another evaluation proper...
متن کاملUniform Normalisation beyond Orthogonality
A rewrite system is called uniformly normalising if all its steps are perpetual, i.e. are such that if s → t and s has an infinite reduction, then t has one too. For such systems termination (SN) is equivalent to normalisation (WN). A well-known fact is uniform normalisation of orthogonal non-erasing term rewrite systems, e.g. the λI-calculus. In the present paper both restrictions are analysed...
متن کاملNormalisation by Traversals
We present a novel method of computing the β-normal η-long form of a simply-typed λ-term by constructing traversals over a variant abstract syntax tree of the term. In contrast to β-reduction, which changes the term by substitution, this method of normalisation by traversals leaves the original term intact. We prove the correctness of the normalisation procedure by game semantics. As an applica...
متن کاملNon-idempotent intersection types and strong normalisation
We present a typing system with non-idempotent intersection types, typing a term syntax covering three different calculi: the pure λ-calculus, the calculus with explicit substitutions λS, and the calculus with explicit substitutions, contractions and weakenings λlxr. In each of the three calculi, a term is typable if and only if it is strongly normalising, as it is the case in (many) systems wi...
متن کامل